/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.qx.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import javax.validation.constraints.NotNull;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author zequs
 * @version 2017-09-03
 */
public class QxMatchFuture extends DataEntity<QxMatchFuture> {
	
	private static final long serialVersionUID = 1L;
	private String year;		// 年份
	private Date gameTime;		// 比赛时间
	private String leagueId;		// 联赛
	private Integer wheel;		// 轮
	private String mainTeamId;		// 主场球队
	private String guestTeamId;		// 客场球队
	private Integer result;		// 猜测结果，1赢，2平，3输
	private Double oddsWin;		// 赢赔率
	private Double oddsEven;		// 平赔率
	private Double oddsLose;		// 输赔率
	private Integer recommendType;		// 推荐类型1：强烈，2：推荐，3：确定，4：否定，5：未知',
	private String unknownReason;		// 位置原因
	private String normalVigilance;       //普通警告
	private String seriousVigilance;      //强烈警告
	
	//非数据库字段
	private String mainTeamName;       //主场球队名
	private String guestTeamName;      //客场球队名
	
	public QxMatchFuture() {
		super();
	}

	public QxMatchFuture(String id){
		super(id);
	}

	@Length(min=0, max=64, message="年份长度必须介于 0 和 64 之间")
	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getGameTime() {
		return gameTime;
	}

	public void setGameTime(Date gameTime) {
		this.gameTime = gameTime;
	}
	
	@Length(min=1, max=64, message="联赛长度必须介于 1 和 64 之间")
	public String getLeagueId() {
		return leagueId;
	}

	public void setLeagueId(String leagueId) {
		this.leagueId = leagueId;
	}
	
	public Integer getWheel() {
		return wheel;
	}

	public void setWheel(Integer wheel) {
		this.wheel = wheel;
	}
	
	@Length(min=1, max=64, message="主场球队长度必须介于 1 和 64 之间")
	public String getMainTeamId() {
		return mainTeamId;
	}

	public void setMainTeamId(String mainTeamId) {
		this.mainTeamId = mainTeamId;
	}
	
	@Length(min=1, max=64, message="客场球队长度必须介于 1 和 64 之间")
	public String getGuestTeamId() {
		return guestTeamId;
	}

	public void setGuestTeamId(String guestTeamId) {
		this.guestTeamId = guestTeamId;
	}
	
	public Integer getResult() {
		return result;
	}

	public void setResult(Integer result) {
		this.result = result;
	}
	
	@NotNull(message="赢赔率不能为空")
	public Double getOddsWin() {
		return oddsWin;
	}

	public void setOddsWin(Double oddsWin) {
		this.oddsWin = oddsWin;
	}
	
	@NotNull(message="平赔率不能为空")
	public Double getOddsEven() {
		return oddsEven;
	}

	public void setOddsEven(Double oddsEven) {
		this.oddsEven = oddsEven;
	}
	
	@NotNull(message="输赔率不能为空")
	public Double getOddsLose() {
		return oddsLose;
	}

	public void setOddsLose(Double oddsLose) {
		this.oddsLose = oddsLose;
	}
	
	public Integer getRecommendType() {
		return recommendType;
	}

	public void setRecommendType(Integer recommendType) {
		this.recommendType = recommendType;
	}
	
	@Length(min=0, max=255, message="位置原因长度必须介于 0 和 255 之间")
	public String getUnknownReason() {
		return unknownReason;
	}

	public void setUnknownReason(String unknownReason) {
		this.unknownReason = unknownReason;
	}

    public String getMainTeamName() {
        return mainTeamName;
    }

    public void setMainTeamName(String mainTeamName) {
        this.mainTeamName = mainTeamName;
    }

    public String getGuestTeamName() {
        return guestTeamName;
    }

    public void setGuestTeamName(String guestTeamName) {
        this.guestTeamName = guestTeamName;
    }

    public String getNormalVigilance() {
        return normalVigilance;
    }

    public void setNormalVigilance(String normalVigilance) {
        this.normalVigilance = normalVigilance;
    }

    public String getSeriousVigilance() {
        return seriousVigilance;
    }

    public void setSeriousVigilance(String seriousVigilance) {
        this.seriousVigilance = seriousVigilance;
    }
	
}